<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    ~function(){
       function alert(s){
           console.log(s)
       }
       var history = '历史';
       alert("frank");
       window.alert("frank222");
       console.log(history);
       console.log(window.history);
    }()
</script>
</body>
</html>